package com.huawei.appgallery.forum.posts.card;

import android.content.Context;
import android.os.Build.VERSION;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.huawei.appgallery.forum.base.card.ForumNode;
import o.bzd.h;
import o.bzd.i;
import o.cih;

public class BuoyForumTopicCommentNode extends ForumNode {
    public BuoyForumTopicCommentNode(Context context) {
        super(context);
    }

    public boolean ˊ(ViewGroup viewGroup, ViewGroup viewGroup2) {
        View inflate = LayoutInflater.from(this.ॱ).inflate(h.ʼ, null);
        cih buoyForumTopicCommentCard = new BuoyForumTopicCommentCard(this.ॱ);
        buoyForumTopicCommentCard.ˏ(inflate);
        if (VERSION.SDK_INT >= 23) {
            buoyForumTopicCommentCard.ॱˊ().ˊ().setTextAppearance(i.ˊ);
        } else {
            buoyForumTopicCommentCard.ॱˊ().ˊ().setTextAppearance(this.ॱ, i.ˊ);
        }
        ˊ(buoyForumTopicCommentCard);
        viewGroup.addView(inflate);
        return true;
    }
}
